function [ net ] = constructNet( INPUT_LENGTH, OUTPUT_LENGTH, LAYERS )
%CONSTRUCTNET Summary of this function goes here
%   Detailed explanation goes here



input = INPUT_LENGTH + 1; %+1 por el umbral

i = 1;
while( i< LAYERS)
    %se agrega el umbral
    output = 13;%2n+1
    net{i} = rand(output,input) - 0.5;
    input = output +1 ;
    i = i+1;
end

net{LAYERS} = rand(OUTPUT_LENGTH,input) - 0.5;



